package br.usp.pcs.acs.negocios.dao.interfaces;

import java.util.ArrayList;

import br.usp.pcs.acs.negocios.dto.CADto;

public interface CADaoInterface 
{
	static String CRUD_C = "INSERT INTO ca VALUES (?,?,?,?,?)";
	static String CRUD_R = "SELECT * FROM ca";
	static String CRUD_U = "UPDATE ca SET nome=?,cnpj=?,login=?,senha=? WHERE id=?";
	static String CRUD_D = "DELETE FROM ca WHERE id = ?";
	
	public void insert(CADto dto);
	public void remove(int i);
	public void edit(CADto dto);
	public ArrayList<CADto> findAll();
	public CADto findById(int id);
}
